var express = require('express');
var router = express.Router();

const {getAllCollections,removeCollection,addCollection} = require("./../controller/collectionsController");

//获取所有收藏题
router.get('/getAllCollections', getAllCollections);
//删除收藏题
router.post("/removeCollection",removeCollection);
//添加收藏题
router.post("/addCollection",addCollection);


module.exports = router;
